package com.fulihui.information;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author sunflower
 */
@SpringBootApplication
@EnableScheduling
@ComponentScan(basePackages = {"com.fulihui", "com.gitee.sunchenbin.mybatis.actable.manager.*"})
@EnableCaching
@MapperScan(basePackages = {"com.fulihui.information.dal.mapper", "com.gitee.sunchenbin.mybatis.actable.dao.*"})
@EnableTransactionManagement
public class WebMain {
    public static void main(String[] args) {
        SpringApplication.run(WebMain.class, args);

    }
}
